﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 辅助计量单位配置接口
    /// </summary>
    public class TAuxiliaryUnit
    {
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 物料号
        /// </summary>
        [MaxLength(64)]
        public string MaterialNo { get; set; }

        /// <summary>
        /// 基本单位
        /// </summary>
        [MaxLength(32)]
        public string BaseUnit { get; set; }

        /// <summary>
        /// 分子
        /// </summary>
        public int UnitNumerator { get; set; }

        /// <summary>
        /// 单据单位
        /// </summary>
        [MaxLength(32)]
        public string MaterialUnit { get; set; }

        /// <summary>
        /// 分目
        /// </summary>
        public int UnitDenominator { get; set; }
    }
}
